<include file="Public/mobile_head"/>
<link href="{:ADDON_PUBLIC_PATH}/css/scene.css?v={:SITE_VERSION}" rel="stylesheet" type="text/css">
<body>
<div class="container body">
    <div class="p_10 top_line">
        <h5 class="page_title"></h5>
        <!-- 表单 -->
        <form method="post" class="m_15">
            <!-- 基础文档模型 -->

            <div id="tab1" class="tab-pane">
                <div class="block_content_bg">
                    <div class="block_content_top">
                        <h6><img width="40px" src="{:ADDON_PUBLIC_PATH}/css/qrcode.png" />查询门店二维码</h6>
                    </div>
                    <div class="p_10">
                        <div class="form-item cf">
                            <label class="item-label">门店编号:</label>
                            <div class="controls">
                                <input type="tel" maxlength="30" placeholder="请输入门店编码如810100" class="text input-large" id="mdcode" value="">
                            </div>
                        </div>
                        <div class="form-item pt_10">
                            <button class="home_btn submit-btn mb_10 flex_1" id="submit" type="button">确  定</button>
                        </div>
                        <div class="form-item cf">
                            <label class="item-label">门店二维码:  <b id="mdname"></b> </label>
                            <div class="controls" id="mdqrcode" style="text-align: center">
                            </div>
                            <div id="mdqrcode2" style="display: none"></div>
                            <a id="downqrcodebtn" class="btn blue_btn" type="button">下载</a>
                        </div>
                    </div>
                </div>
            </div>
        </form>
    </div>
</div>
<script>
    var showqrcode = {
        getmdinfo:"{:U('getmdinfo')}"
    }
</script>
<script src="{:ADDON_PUBLIC_PATH}/scripts/canvas2image.js?v={:SITE_VERSION}"></script>
<script src="{:ADDON_PUBLIC_PATH}/scripts/jquery.qrcode.js?v={:SITE_VERSION}"></script>
<script src="{:ADDON_PUBLIC_PATH}/scripts/qrcode.js?v={:SITE_VERSION}"></script>
<script src="{:ADDON_PUBLIC_PATH}/scripts/showqrcode.js?v={:SITE_VERSION}"></script>
</body>
</html>
